package com.vue.vuedemo.map;

import com.vue.vuedemo.pojo.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CategoryMapper {
    @Select("select * from category")
    public List<Category> getAllCategory();
}
